package com.ygqh.baby.mapper;

import com.ygqh.baby.po.YgCouponMember;
import com.ygqh.baby.po.YgCouponMemberExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface YgCouponMemberMapper {
    int countByExample(YgCouponMemberExample example);

    int deleteByExample(YgCouponMemberExample example);

    int deleteByPrimaryKey(Long id);

    int insert(YgCouponMember record);

    int insertSelective(YgCouponMember record);

    List<YgCouponMember> selectByExample(YgCouponMemberExample example);

    YgCouponMember selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") YgCouponMember record, @Param("example") YgCouponMemberExample example);

    int updateByExample(@Param("record") YgCouponMember record, @Param("example") YgCouponMemberExample example);

    int updateByPrimaryKeySelective(YgCouponMember record);

    int updateByPrimaryKey(YgCouponMember record);

    int addBatch(@Param("addList") List<YgCouponMember> addList);
}